<div ng-include src="'tpl/public/header.html'"></div>
<div class="contents">
    <table class="table table-striped table-hover ">
        <thead>
        <tr>
            <td colspan="2">产品成立公告附件：
                <div class="btn btn-primary add-pic-btn">上传附件</div>
            </td>
        </tr>
        <tr>
            <th width="">附件名称</th>
            <th width="100">操作</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-if="attachs.length==0">
            <td colspan="2" style="text-align: center">暂无附件!</td>
        </tr>
        <tr ng-repeat="attach in attachs track by $index">
            <td><a ng-href="{{staticHost}}{{attach.logicFullpath}}" target="_blank">{{attach.fileName}}</a></td>
            <td class="optd">
                <a class="cur-p" ng-click="deleteItem(attach,$index)" has-auth where="btn" who="PRODUCT_ATTACH_UPDATE" owner="{{project.createBy}}">删除</a>
            </td>
        </tr>
        </tbody>
    </table>
</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?5'" call-back="" charset="utf-8" ></div>